Vcenter ResourcePool SharesInfo

Vcenter ResourcePool SharesInfo
Vcenter ResourcePool SharesInfo

The Vcenter ResourcePool SharesInfo schema provides specification of shares.

Shares are used to determine relative allocation between resource consumers. In general, a consumer with more shares gets proportionally more of the resource, subject to certain other constraints.

This schema was added in vSphere API 7.0.0.0.

JSON Example
{
    "level": "string",
    "shares": 0
}
string
level
Required

The allocation level. It maps to a pre-determined set of numeric values for shares. If the shares value does not map to a predefined size, then the level is set as CUSTOM.

For more information see: Vcenter ResourcePool SharesInfo Level.

This property was added in vSphere API 7.0.0.0.

integer As int64 As int64
shares
Optional

When Vcenter ResourcePool SharesInfo.level is set to CUSTOM, it is the number of shares allocated. Otherwise, this value is ignored.

There is no unit for this value. It is a relative measure based on the settings for other resource pools.

This property was added in vSphere API 7.0.0.0.

This property is optional and it is only relevant when the value of level is Vcenter ResourcePool SharesInfo Level.CUSTOM.